package com.zz.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 班级管理对象 classes
 * 
 * @author ruoyi
 * @date 2025-07-03
 */
public class Classes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级ID */
    @Excel(name = "class_id")
    private Long classId;

    /** 所属学校ID */
    @Excel(name = "school_id")
    private Long schoolId;

    /** 班级名称 (如：初一(1)班) */
    @Excel(name = "class_name")
    private String className;
    private String grade;
    private String schoolName;

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }

    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }

    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("schoolId", getSchoolId())
            .append("className", getClassName())
            .append("grade", getGrade())
            .append("createTime", getCreateTime())
            .toString();
    }
}
